<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>SaiCms演示站-<?=$model['category_name']?></title>
<?php include base_path().'/plugin/saicms/app/view/style.html'; ?>
</head>
<body>
<div id="wrapper">

	<!-- start header -->
	<header>
<?php include base_path().'/plugin/saicms/app/view/header.html'; ?>
	</header>
	<!-- end header -->
	<section id="inner-headline">
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<h2 class="pageTitle">当前分类：<?=$model['category_name']?></h2>
				</div>
			</div>
		</div>
	</section>


	<section id="content">
		<div class="container">

			<section class="course">

				<div class="row">
					<div class="col-md-8">
						<div class="card-columns">
<?php foreach($data['data'] as $item){ ?>
							<div class="card">
								<div class="card-body">
									<h5 class="card-title">
										<a href="/app/saicms/index/article?id=<?=$item['id']?>"><?=$item['title']?></a>
									</h5>
									<div style="display: flex;">
										<img width="130px" height="87px" src="<?=$item['image']?>">
										<p style="padding: 10px;"><?=$item['describe']?></p>
									</div>
									<p class="card-text"><small class="text-muted">发布时间：<?=$item['create_time']?></small></p>
								</div>
							</div>
<?php } ?>
						</div>
					</div>

					<div class="col-md-4">
						<div class="list-category">
							<h4>栏目分类</h4>
							<ul class="list-unstyled list-spaces">
<?php foreach($list as $item){ ?>
								<li><a href="/app/saicms/index/list?cid=<?=$item['id']?>"><?=$item['category_name']?></a></li>
<?php } ?>
							</ul>
						</div>

					</div>
				</div>
			</section>
		</div>
	</section>
	<footer>
<?php include base_path().'/plugin/saicms/app/view/footer.html'; ?>
	</footer>
</div>
<?php include base_path().'/plugin/saicms/app/view/script.html'; ?>
</body>
</html>